package top.tangyh.lamp.care.vo.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.math.BigDecimal;
import java.sql.Blob;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import top.tangyh.basic.base.entity.SuperEntity;
import java.io.Serializable;

/**
 * <p>
 * 表单修改方法VO
 * 评估评分明细内容
 * </p>
 *
 * @author zqb
 * @date 2024-07-10 08:51:41
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "评估评分明细内容")
public class BPgSrxDetailNormalUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "")
    @NotNull(message = "请填写", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 评估评分id
     */
    @Schema(description = "评估评分id")
    @NotNull(message = "请填写评估评分id")
    private Long pgId;
    /**
     * 输入项id
     */
    @Schema(description = "输入项id")
    private Long pgSrxId;
    /**
     * 明细的类型
     */
    @Schema(description = "明细的类型")
    @NotEmpty(message = "请填写明细的类型")
    @Size(max = 16, message = "明细的类型长度不能超过{max}")
    private String detailTypeCode;
    /**
     * 是否自定义 0false1true 默认0
     */
    @Schema(description = "是否自定义 0false1true 默认0")
    private Integer isDiy;
    /**
     * 明细内容
     */
    @Schema(description = "明细内容")
    @NotNull(message = "请填写明细内容")
    private String detailContent;
    /**
     * 分值
     */
    @Schema(description = "分值")
    private BigDecimal score;
    /**
     * 明细缩写
     */
    @Schema(description = "明细缩写")
    @Size(max = 8, message = "明细缩写长度不能超过{max}")
    private String shortName;
    /**
     * 
     */
    @Schema(description = "")
    @Size(max = 255, message = "长度不能超过{max}")
    private String order;

    /**
     * 区间结束值
     */
    @Schema(description = "区间结束值")
    private BigDecimal rangeEnd;
    /**
     * 区间开始值
     */
    @Schema(description = "区间开始值")
    private BigDecimal rangeStart;
    /**
     * 描述
     */
    @Schema(description = "描述")
    @Size(max = 100, message = "描述长度不能超过{max}")
    private String desc;


}
